hw = nat_dbsom 

tex = $(shell find . -name "*.tex" -print)

all: $(hw).pdf

$(hw).pdf: $(tex)
	pdflatex $(hw).tex
	pdflatex $(hw).tex

clean:
	rm -f *.aux *.log *.pdf *.out

